home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3864 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 74 6c 69 6e 65 2d 66 64 |Path: ne|tline-fd|
|00000010| 64 69 2e 6a 70 6c 2e 6e | 61 73 61 2e 67 6f 76 21 |di.jpl.n|asa.gov!|
|00000020| 75 73 65 6e 65 74 0a 46 | 72 6f 6d 3a 20 4a 65 66 |usenet.F|rom: Jef|
|00000030| 66 20 44 69 63 6b 73 6f | 6e 20 3c 6a 64 69 63 6b |f Dickso|n <jdick|
|00000040| 73 6f 6e 40 76 74 6f 6c | 2e 6a 70 6c 2e 6e 61 73 |son@vtol|.jpl.nas|
|00000050| 61 2e 67 6f 76 3e 0a 4e | 65 77 73 67 72 6f 75 70 |a.gov>.N|ewsgroup|
|00000060| 73 3a 20 63 6f 6d 70 2e | 73 79 73 2e 73 67 69 2e |s: comp.|sys.sgi.|
|00000070| 6d 69 73 63 2c 63 6f 6d | 70 2e 6c 61 6e 67 2e 63 |misc,com|p.lang.c|
|00000080| 2c 63 6f 6d 70 2e 75 6e | 69 78 2e 70 72 6f 67 72 |,comp.un|ix.progr|
|00000090| 61 6d 6d 65 72 0a 53 75 | 62 6a 65 63 74 3a 20 52 |ammer.Su|bject: R|
|000000a0| 65 3a 20 6d 65 6d 6f 72 | 79 20 6d 61 6e 61 67 65 |e: memor|y manage|
|000000b0| 6d 65 6e 74 20 69 6e 20 | 55 4e 49 58 20 28 53 47 |ment in |UNIX (SG|
|000000c0| 49 20 49 52 49 58 29 0a | 44 61 74 65 3a 20 33 31 |I IRIX).|Date: 31|
|000000d0| 20 4a 61 6e 20 31 39 39 | 36 20 31 37 3a 31 39 3a | Jan 199|6 17:19:|
|000000e0| 35 37 20 47 4d 54 0a 4f | 72 67 61 6e 69 7a 61 74 |57 GMT.O|rganizat|
|000000f0| 69 6f 6e 3a 20 4a 65 74 | 20 50 72 6f 70 75 6c 73 |ion: Jet| Propuls|
|00000100| 69 6f 6e 20 4c 61 62 6f | 72 61 74 6f 72 79 0a 4d |ion Labo|ratory.M|
|00000110| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 34 65 6f 38 |essage-I|D: <4eo8|
|00000120| 62 74 24 65 70 76 40 6e | 65 74 6c 69 6e 65 2d 66 |bt$epv@n|etline-f|
|00000130| 64 64 69 2e 6a 70 6c 2e | 6e 61 73 61 2e 67 6f 76 |ddi.jpl.|nasa.gov|
|00000140| 3e 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 44 |>.Refere|nces: <D|
|00000150| 4d 30 4a 76 39 2e 39 46 | 34 40 62 69 69 2e 62 72 |M0Jv9.9F|4@bii.br|
|00000160| 75 6b 65 72 2e 63 6f 6d | 3e 0a 4e 4e 54 50 2d 50 |uker.com|>.NNTP-P|
|00000170| 6f 73 74 69 6e 67 2d 48 | 6f 73 74 3a 20 76 74 6f |osting-H|ost: vto|
|00000180| 6c 2e 6a 70 6c 2e 6e 61 | 73 61 2e 67 6f 76 0a 4d |l.jpl.na|sa.gov.M|
|00000190| 69 6d 65 2d 56 65 72 73 | 69 6f 6e 3a 20 31 2e 30 |ime-Vers|ion: 1.0|
|000001a0| 0a 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 3a 20 74 |.Content|-Type: t|
|000001b0| 65 78 74 2f 70 6c 61 69 | 6e 3b 20 63 68 61 72 73 |ext/plai|n; chars|
|000001c0| 65 74 3d 75 73 2d 61 73 | 63 69 69 0a 43 6f 6e 74 |et=us-as|cii.Cont|
|000001d0| 65 6e 74 2d 54 72 61 6e | 73 66 65 72 2d 45 6e 63 |ent-Tran|sfer-Enc|
|000001e0| 6f 64 69 6e 67 3a 20 37 | 62 69 74 0a 58 2d 4d 61 |oding: 7|bit.X-Ma|
|000001f0| 69 6c 65 72 3a 20 4d 6f | 7a 69 6c 6c 61 20 31 2e |iler: Mo|zilla 1.|
|00000200| 31 4e 20 28 58 31 31 3b | 20 49 3b 20 53 75 6e 4f |1N (X11;| I; SunO|
|00000210| 53 20 34 2e 31 2e 32 20 | 73 75 6e 34 63 29 0a 54 |S 4.1.2 |sun4c).T|
|00000220| 6f 3a 20 6a 65 6d 40 62 | 69 69 2e 62 72 75 6b 65 |o: jem@b|ii.bruke|
|00000230| 72 2e 63 6f 6d 0a 58 2d | 55 52 4c 3a 20 6e 65 77 |r.com.X-|URL: new|
|00000240| 73 3a 44 4d 30 4a 76 39 | 2e 39 46 34 40 62 69 69 |s:DM0Jv9|.9F4@bii|
|00000250| 2e 62 72 75 6b 65 72 2e | 63 6f 6d 0a 0a 6a 65 6d |.bruker.|com..jem|
|00000260| 40 62 69 69 2e 62 72 75 | 6b 65 72 2e 63 6f 6d 20 |@bii.bru|ker.com |
|00000270| 28 4a 6f 65 20 4d 65 69 | 65 72 29 20 77 72 6f 74 |(Joe Mei|er) wrot|
|00000280| 65 3a 0a 3e 20 20 20 57 | 65 20 68 61 76 65 20 61 |e:.> W|e have a|
|00000290| 20 70 72 6f 62 6c 65 6d | 20 77 69 74 68 20 61 20 | problem| with a |
|000002a0| 70 72 6f 67 72 61 6d 20 | 72 75 6e 6e 69 6e 67 20 |program |running |
|000002b0| 75 6e 64 65 72 20 55 4e | 49 58 20 28 53 47 49 20 |under UN|IX (SGI |
|000002c0| 49 52 49 58 20 35 2e 78 | 29 2e 20 20 0a 3e 49 74 |IRIX 5.x|). .>It|
|000002d0| 20 75 73 65 73 20 58 31 | 31 20 66 6f 72 20 61 20 | uses X1|1 for a |
|000002e0| 67 72 61 70 68 69 63 61 | 6c 20 75 73 65 72 20 69 |graphica|l user i|
|000002f0| 6e 74 65 72 66 61 63 65 | 2e 20 20 0a 3e 54 68 65 |nterface|. .>The|
|00000300| 20 70 72 6f 67 72 61 6d | 20 61 6c 6c 6f 63 61 74 | program| allocat|
|00000310| 65 73 20 61 6e 64 20 66 | 72 65 65 73 20 6c 61 72 |es and f|rees lar|
|00000320| 67 65 20 61 6d 6f 75 6e | 74 73 20 6f 66 20 6d 65 |ge amoun|ts of me|
|00000330| 6d 6f 72 79 20 66 6f 72 | 20 64 61 74 61 20 0a 3e |mory for| data .>|
|00000340| 28 73 6f 6d 65 74 69 6d | 65 73 20 63 68 75 6e 6b |(sometim|es chunk|
|00000350| 73 20 61 73 20 62 69 67 | 20 61 73 20 32 30 4d 29 |s as big| as 20M)|
|00000360| 2e 20 20 54 68 65 20 70 | 72 6f 62 6c 65 6d 20 69 |. The p|roblem i|
|00000370| 73 20 74 68 61 74 20 69 | 6e 20 61 20 72 65 6c 61 |s that i|n a rela|
|00000380| 74 69 76 65 6c 79 0a 3e | 73 68 6f 72 74 20 74 69 |tively.>|short ti|
|00000390| 6d 65 20 74 68 65 20 73 | 79 73 74 65 6d 20 72 75 |me the s|ystem ru|
|000003a0| 6e 73 20 6f 75 74 20 6f | 66 20 73 77 61 70 20 73 |ns out o|f swap s|
|000003b0| 61 70 63 65 20 61 6e 64 | 20 77 65 20 68 61 76 65 |apce and| we have|
|000003c0| 20 74 6f 20 6b 69 6c 6c | 20 74 68 65 20 70 72 6f | to kill| the pro|
|000003d0| 67 72 61 6d 2e 0a 3e 57 | 65 20 68 61 76 65 20 69 |gram..>W|e have i|
|000003e0| 6e 76 65 73 74 69 67 61 | 74 65 64 20 74 68 65 20 |nvestiga|ted the |
|000003f0| 70 72 6f 62 6c 65 6d 20 | 61 6e 64 20 69 74 20 73 |problem |and it s|
|00000400| 65 65 6d 73 20 74 6f 20 | 62 65 20 74 68 61 74 20 |eems to |be that |
|00000410| 74 68 65 20 61 6c 6c 6f | 63 61 74 65 64 20 6d 65 |the allo|cated me|
|00000420| 6d 6f 72 79 0a 3e 69 73 | 20 67 65 74 74 69 6e 67 |mory.>is| getting|
|00000430| 20 73 65 67 6d 65 6e 74 | 65 64 2c 20 73 6f 20 74 | segment|ed, so t|
|00000440| 68 61 74 20 65 76 65 6e | 20 74 68 6f 75 67 68 20 |hat even| though |
|00000450| 74 68 65 20 6d 65 6d 6f | 72 79 20 69 73 20 66 72 |the memo|ry is fr|
|00000460| 65 65 64 20 62 79 20 63 | 61 6c 6c 73 20 74 6f 0a |eed by c|alls to.|
|00000470| 3e 22 66 72 65 65 22 2c | 20 74 68 65 20 6e 65 78 |>"free",| the nex|
|00000480| 74 20 6d 61 6c 6c 6f 63 | 20 64 6f 65 73 20 6e 6f |t malloc| does no|
|00000490| 74 20 6e 65 63 65 73 73 | 61 69 72 6c 79 20 75 73 |t necess|airly us|
|000004a0| 65 20 74 68 65 20 66 72 | 65 65 64 20 73 70 61 63 |e the fr|eed spac|
|000004b0| 65 20 62 65 63 61 75 73 | 65 20 69 74 0a 3e 63 61 |e becaus|e it.>ca|
|000004c0| 6e 6e 6f 74 20 66 69 6e | 64 20 61 20 6c 61 72 67 |nnot fin|d a larg|
|000004d0| 65 20 65 6e 6f 75 67 68 | 20 63 6f 6e 74 69 67 75 |e enough| contigu|
|000004e0| 6f 75 73 20 62 6c 6f 63 | 6b 20 61 6e 64 20 69 6e |ous bloc|k and in|
|000004f0| 73 74 65 61 64 20 61 6c | 6c 6f 63 61 74 65 73 20 |stead al|locates |
|00000500| 6d 6f 72 65 20 66 72 6f | 6d 0a 3e 74 68 65 20 73 |more fro|m.>the s|
|00000510| 79 73 74 65 6d 2e 20 20 | 57 68 65 6e 20 77 65 20 |ystem. |When we |
|00000520| 77 65 72 65 20 77 6f 72 | 6b 69 6e 67 20 77 69 74 |were wor|king wit|
|00000530| 68 20 73 6d 61 6c 6c 65 | 72 20 64 61 74 61 20 73 |h smalle|r data s|
|00000540| 69 7a 65 73 20 74 68 69 | 73 20 77 61 73 20 6e 6f |izes thi|s was no|
|00000550| 74 20 61 20 0a 3e 70 72 | 6f 62 6c 65 6d 2c 20 62 |t a .>pr|oblem, b|
|00000560| 75 74 20 74 68 65 20 62 | 69 67 67 65 72 20 64 61 |ut the b|igger da|
|00000570| 74 61 20 73 69 7a 65 73 | 20 69 73 20 63 61 75 73 |ta sizes| is caus|
|00000580| 69 6e 67 20 73 6f 6d 65 | 20 73 76 65 72 65 20 70 |ing some| svere p|
|00000590| 72 6f 62 6c 65 6d 73 2e | 20 20 54 68 65 20 0a 3e |roblems.| The .>|
|000005a0| 66 69 72 73 74 20 71 75 | 65 73 74 69 6f 6e 20 69 |first qu|estion i|
|000005b0| 73 20 77 68 65 74 68 65 | 72 20 61 6e 79 6f 6e 65 |s whethe|r anyone|
|000005c0| 20 65 6c 73 65 20 68 61 | 73 20 65 6e 63 6f 75 6e | else ha|s encoun|
|000005d0| 74 65 72 65 64 20 73 69 | 6d 69 6c 61 72 20 70 72 |tered si|milar pr|
|000005e0| 6f 62 6c 65 6d 73 0a 3e | 61 6e 64 20 77 68 61 74 |oblems.>|and what|
|000005f0| 20 63 61 75 73 65 64 20 | 74 68 65 6d 20 61 6e 64 | caused |them and|
|00000600| 20 68 6f 77 20 74 68 65 | 79 20 73 6f 6c 76 65 64 | how the|y solved|
|00000610| 20 69 74 3f 20 20 41 6c | 73 6f 2c 20 49 20 77 61 | it? Al|so, I wa|
|00000620| 6e 74 65 64 20 74 6f 20 | 6b 6e 6f 77 20 69 66 20 |nted to |know if |
|00000630| 0a 3e 74 68 65 72 65 20 | 65 78 69 73 74 73 20 61 |.>there |exists a|
|00000640| 6e 79 20 69 6e 74 65 6c | 6c 69 67 61 6e 74 20 6d |ny intel|ligant m|
|00000650| 65 6d 6f 72 79 20 6d 61 | 6e 61 67 65 72 73 20 74 |emory ma|nagers t|
|00000660| 68 61 74 20 77 69 6c 6c | 20 6d 6f 76 65 20 6d 65 |hat will| move me|
|00000670| 6d 6f 72 79 20 62 6c 6f | 63 6b 73 0a 3e 69 6e 20 |mory blo|cks.>in |
|00000680| 6f 72 64 65 72 20 74 6f | 20 6b 65 65 70 20 61 6c |order to| keep al|
|00000690| 6c 20 74 68 65 20 66 72 | 65 65 20 73 70 61 63 65 |l the fr|ee space|
|000006a0| 20 69 6e 20 6f 6e 20 63 | 6f 6e 74 69 67 75 6f 75 | in on c|ontiguou|
|000006b0| 73 20 6c 6f 63 61 74 69 | 6f 6e 3f 20 20 49 20 74 |s locati|on? I t|
|000006c0| 68 69 6e 6b 20 74 68 69 | 73 0a 3e 77 6f 75 6c 64 |hink thi|s.>would|
|000006d0| 20 67 6f 20 61 20 6c 6f | 6e 67 20 77 61 79 20 74 | go a lo|ng way t|
|000006e0| 6f 77 61 72 64 73 20 73 | 6f 6c 76 69 6e 67 20 6f |owards s|olving o|
|000006f0| 75 72 20 70 72 6f 62 6c | 65 6d 73 3f 3f 3f 20 20 |ur probl|ems??? |
|00000700| 4f 66 2d 63 6f 75 72 73 | 65 20 69 66 20 61 6e 79 |Of-cours|e if any|
|00000710| 6f 6e 65 20 0a 3e 68 61 | 73 20 6f 74 68 65 72 20 |one .>ha|s other |
|00000720| 73 75 67 65 73 74 69 6f | 6e 73 20 66 6f 72 20 77 |sugestio|ns for w|
|00000730| 68 61 74 20 74 68 65 20 | 63 61 75 73 65 20 6f 66 |hat the |cause of|
|00000740| 20 6f 75 72 20 70 72 6f | 62 6c 65 6d 73 20 61 72 | our pro|blems ar|
|00000750| 65 2c 20 74 68 65 79 20 | 77 6f 75 6c 64 20 62 65 |e, they |would be|
|00000760| 0a 3e 67 72 65 61 74 6c | 79 20 61 70 70 72 65 63 |.>greatl|y apprec|
|00000770| 69 61 74 65 64 2e 0a 3e | 0a 3e 20 20 20 53 69 6e |iated..>|.> Sin|
|00000780| 63 65 2c 20 49 20 61 6d | 20 63 72 6f 73 73 20 70 |ce, I am| cross p|
|00000790| 6f 73 74 69 6e 67 20 74 | 68 69 73 20 74 6f 20 73 |osting t|his to s|
|000007a0| 65 76 65 72 61 6c 20 6e | 65 77 73 20 67 72 6f 75 |everal n|ews grou|
|000007b0| 70 73 2c 20 49 20 61 73 | 6b 20 74 68 61 74 0a 3e |ps, I as|k that.>|
|000007c0| 72 65 73 70 6f 6e 73 65 | 73 20 62 65 20 65 2d 6d |response|s be e-m|
|000007d0| 61 69 6c 65 64 20 64 69 | 72 65 63 74 6c 79 20 74 |ailed di|rectly t|
|000007e0| 6f 20 6d 65 20 28 61 74 | 20 6a 65 6d 40 62 72 75 |o me (at| jem@bru|
|000007f0| 6b 65 72 2e 63 6f 6d 29 | 20 73 6f 20 74 68 61 74 |ker.com)| so that|
|00000800| 20 49 20 63 61 6e 20 6d | 6f 72 65 0a 3e 65 61 69 | I can m|ore.>eai|
|00000810| 73 6c 79 20 6b 65 65 70 | 20 74 72 61 63 6b 20 6f |sly keep| track o|
|00000820| 66 20 74 68 65 6d 2e 20 | 20 49 20 77 69 6c 6c 20 |f them. | I will |
|00000830| 70 6f 73 74 20 61 20 73 | 75 6d 6d 61 72 79 20 28 |post a s|ummary (|
|00000840| 66 6f 72 20 74 68 6f 73 | 65 20 69 6e 74 65 72 65 |for thos|e intere|
|00000850| 73 74 65 64 29 20 6f 6e | 63 65 0a 3e 49 20 68 61 |sted) on|ce.>I ha|
|00000860| 76 65 20 63 6f 6d 70 6c | 69 65 64 20 74 68 65 20 |ve compl|ied the |
|00000870| 72 65 73 70 6f 6e 73 65 | 73 2e 0a 3e 0a 3e 54 68 |response|s..>.>Th|
|00000880| 61 6e 6b 73 20 66 6f 72 | 20 74 68 65 20 68 65 6c |anks for| the hel|
|00000890| 70 2c 0a 3e 0a 3e 4a 6f | 65 20 4d 65 69 65 72 0a |p,.>.>Jo|e Meier.|
|000008a0| 0a 53 65 65 6d 73 20 6c | 69 6b 65 20 61 20 77 68 |.Seems l|ike a wh|
|000008b0| 69 6c 65 20 61 67 6f 20 | 74 68 65 72 65 20 77 61 |ile ago |there wa|
|000008c0| 73 20 61 20 64 69 73 63 | 75 73 73 69 6f 6e 20 61 |s a disc|ussion a|
|000008d0| 62 6f 75 74 20 66 72 65 | 65 64 20 6d 65 6d 6f 72 |bout fre|ed memor|
|000008e0| 79 20 6e 6f 74 20 72 65 | 61 6c 6c 79 0a 73 68 72 |y not re|ally.shr|
|000008f0| 69 6e 6b 69 6e 67 20 61 | 20 70 72 6f 63 65 73 73 |inking a| process|
|00000900| 20 64 61 74 61 20 73 65 | 67 6d 65 6e 74 2e 20 54 | data se|gment. T|
|00000910| 68 65 20 70 69 74 66 61 | 6c 6c 20 62 65 69 6e 67 |he pitfa|ll being|
|00000920| 20 6d 65 6d 6f 72 79 20 | 74 68 61 74 20 77 61 73 | memory |that was|
|00000930| 20 69 64 6c 65 20 63 6f | 75 6c 64 0a 63 6f 6e 74 | idle co|uld.cont|
|00000940| 69 6e 75 65 20 74 6f 20 | 74 69 65 20 75 70 20 73 |inue to |tie up s|
|00000950| 77 61 70 20 73 70 61 63 | 65 2e 20 0a 0a 4a 65 66 |wap spac|e. ..Jef|
|00000960| 66 0a 6a 64 69 63 6b 73 | 6f 6e 40 76 74 6f 6c 2e |f.jdicks|on@vtol.|
|00000970| 6a 70 6c 2e 6e 61 73 61 | 2e 67 6f 76 0a 0a |jpl.nasa|.gov.. |
+--------+-------------------------+-------------------------+--------+--------+